import { buildIcon } from "@/utils/icon";
const OrderType = {
	UNPAID: 1, // 待付款
	TO_BE_SHIPPED: 2, // 待发货
	CANCELED: 3, // 已取消
	TO_BE_SETTLED: 4, // 待结款
	TO_BE_RECEIVED: 5, // 待收货
	HAS_RECEIVED: 6, // 已收货
	COMPLETED: 7, // 已完成
	TO_BE_SIGNED: 8, // 待签约
};
const OrderText = {
	[OrderType.UNPAID]: "待付款",
	[OrderType.TO_BE_SHIPPED]: "待发货",
	[OrderType.CANCELED]: "已取消",
	[OrderType.TO_BE_SETTLED]: "待结款",
	[OrderType.TO_BE_RECEIVED]: "待收货",
	[OrderType.HAS_RECEIVED]: "已收货",
	[OrderType.COMPLETED]: "已完成",
	[OrderType.TO_BE_SIGNED]: "待签约",
};
const OrderDesc = {
	[OrderType.UNPAID]: "订单待支付",
	[OrderType.TO_BE_SHIPPED]: "商家正在火速备货中，请耐心等待~~",
	[OrderType.CANCELED]: "订单已取消",
	[OrderType.TO_BE_SETTLED]: "订单待结款",
	[OrderType.TO_BE_RECEIVED]: "商品已发货，请收到货后点击确认送达~",
	[OrderType.HAS_RECEIVED]: "订单已确认收货",
	[OrderType.COMPLETED]: "订单已完成",
	[OrderType.TO_BE_SIGNED]: "订单待签约",
};
const OrderColor = {
	[OrderType.UNPAID]: "#B41732",
	[OrderType.TO_BE_SHIPPED]: "#999999",
	[OrderType.CANCELED]: "#999999",
	[OrderType.TO_BE_SETTLED]: "#B41732",
	[OrderType.TO_BE_RECEIVED]: "#999999",
	[OrderType.HAS_RECEIVED]: "#999999",
	[OrderType.COMPLETED]: "#999999",
	[OrderType.TO_BE_SIGNED]: "#B41732",
};
export { OrderType, OrderText, OrderColor, OrderDesc };
